﻿namespace Gp.Scripts.Core {
    public class PanicModelMark : UnitModelStateMark {
        public override void OnMark() {
            Animator.SetLayerWeight(UnitAnimatorLayer.Panic.LayerCode(), 1);
        }

        public override void UnMark() {
            Animator.SetLayerWeight(UnitAnimatorLayer.Panic.LayerCode(), 0);
        }
    }
}